
var search = new Vue({
    el: "#search",
    data() {
        return {
            services: services,
            selectName:"",
        }
    },
    created () {

    },
    methods:{
        submit: function () {
            var selected = $("#selectSearch").val();
            if(selected == 'position'){
                window.location.href="search-details.html?positionName="+this.selectName ;

            }else if(selected == 'company'){
               window.location.href="search-details.html?companyFullName="+this.selectName ;
            }
        }
    }
});


